Non-transitory computer-readable recording medium storing computer-readable instructions for causing information processing device to execute communication processing with image processing program and voice-recognition program, information processing device, and method of controlling information processing device

ABSTRACT

A non-transitory computer-readable recording medium storing computer-readable instructions may be read by a controller of an information processing device in which an image processing program and a voice-recognition program have been installed. The computer-readable instructions may cause the information processing device to obtain the text data from the voice-recognition program in a case where the voice-recognition program creates the text data. The computer-readable instructions may cause the information processing device to determine whether the obtained text data includes a first string and a second string. The computer-readable instructions may cause the information processing device to cause a display of the information processing device to display a specific image in a case where it is determined that the text data includes the first string and the second string. The computer-readable instructions may cause the information processing device to instruct the image processing program to execute image processing.

TECHNICAL FIELD

The technique disclosed herein relates to an information processingprogram for causing an information processing device to execute varioustypes of image processing.

BACKGROUND ART

A voice assistant program by which a computer is capable of interpretinguser's dialogues and of executing various operations that are orallyinstructed is known.

SUMMARY

There is a case where it is desirable to orally instruct an imageprocessing program for executing various types of image processing toexecute image processing that a user selected. The description hereindiscloses a novel technique that enables to orally instruct an imageprocessing program to execute a process via a voice assistance program.

A non-transitory computer-readable recording medium storingcomputer-readable instructions disclosed herein may be read by acontroller of an information processing device in which an imageprocessing program and a voice-recognition program have been installed.The image processing program and the voice-recognition program may havea format interpretable by the controller of the information processingdevice. The image processing program may be for executing imageprocessing. The voice-recognition program may be for converting a voiceinputted via a microphone of the information processing device to textdata. The computer-readable instructions, when executed by thecontroller of the information processing device, may cause theinformation processing device to obtain the text data from thevoice-recognition program in a case where the voice-recognition programcreates the text data. The computer-readable instructions may cause theinformation processing device to determine whether the obtained textdata includes a first string indicating the image processing program anda second string indicating a content of image processing to be executedby the image processing program. The computer-readable instructions maycause the information processing device to cause a display of theinformation processing device to display a specific image indicating acontext of image processing indicated by the second string in a casewhere it is determined that the text data includes the first string andthe second string. The computer-readable instructions may cause theinformation processing device to instruct the image processing programindicated by the first string to execute image processing indicated bythe second string in a case where an execution instruction is accepted.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 shows a configuration of a communication system.

FIG. 2 shows an operational sequence diagram of the communicationsystem.

FIG. 3 shows an operational sequence diagram of the communicationsystem.

FIG. 4 shows an operational sequence diagram of the communicationsystem.

EMBODIMENTS

(Configuration of Communication System 10)

FIG. 1 is a block diagram showing a configuration of a communicationsystem 10. The communication system 10 includes an informationprocessing device 100 and an MFP 51. Here, an MFP is a multifunctionperipheral provided with a print function, a scan function, a copyfunction, and the like.

The information processing device 100 is a portable device such as acell phone or a portable terminal. The information processing device 100includes a display 102, a touch panel 103, an input I/F 104, a wirelessLAN_I/F 105, a CPU 106, a ROM 107, a RAM 108, a memory 109, a microphone111, and the like, and these members are connected to each other via aninput/output port 110. I/F is an abbreviation of “Interface”.

The display 102 is configured to receive image signals outputted fromthe CPU 106, and display an image based on the received image signals.As the display 102, for example, an LCD (which may be termed LiquidCrystal Display), an organic EL (which may be termed OrganicElectro-Luminescence) panel, may be used. The touch panel 103 isconstituted of a transparent member, and is arranged to cover a surfaceof the display 102. The touch panel 103 is configured to detect aposition that is touched by a user's finger or the like, and to outputdetected position information to the CPU 106. The input I/F 104 may forexample be operation buttons.

The wireless LAN_I/F 105 is an I/F configured to perform communicationsas a wireless LAN station. The wireless LAN_I/F 105 is configured toperform a communication complying with an infrastructure mode of Wi-Fi(registered trademark of Wi-Fi Alliance), and a communication complyingwith Wi-Fi Direct (registered trademark of Wi-Fi Alliance). The wirelessLAN_I/F 105 is configured to communicate various types of data with theMFP 51 through wireless communications 151 and 154 and an access point501.

The CPU 106 is configured to execute programs stored in the memory 109.The RAM 108 temporarily stores information necessary for processing inthe CPU 106. The memory 109 is configured by combining a flash memory, aHDD (which may be termed hard disk), a buffer in the CPU 106, and thelike. The memory 109 is configured to store image data, text data, andthe like.

The memory 109 stores programs 120. The CPU 106 executes processingaccording to the programs 120. The memory 109 may be a computer-readablestorage medium. The computer-readable storage medium is a non-transitorymedium, such as a ROM, a RAM, a flash memory, a hard disk, and the like.

The programs 120 include printer controlling programs 123, avoice-recognition program 125, and an operating system 124 (hereinbelowalso described as OS 124). The printer controlling programs 123 includea print/scan program 121 and an intermediation program 122.

The print/scan program 121 is a program for causing the MFP 51 toexecute various types of image processing, such as a print process or ascan process. Further, the print/scan program 121 can create image datato be used in the print process and send the same, and receive imagedata created in the MFP 51 in the scan process. In an explanatoryexample of this embodiment, a case is described in which a name of theprint/scan program 121 is “print/scan app”.

The intermediation program 122 is a program for enhancing functions ofthe print/scan program 121. That is, the intermediation program 122 is aprogram having a plugin function for the print/scan program 121. Theintermediation program 122 has a function to intermediate communicationsof various types of information between the print/scan program 121 andthe voice-recognition program 125. The intermediation program 122 may beexecuted by being called by the voice-recognition program 125 or theprint/scan program 121.

The voice-recognition program 125 is configured to convert a voice thatthe user inputted through the microphone 111 to text data by using avoice recognition technique. Further, the voice-recognition program 125is configured to interpret context of the converted text data by usingnatural language processing. Due to this, various oral instructions canbe accepted, and processes according to those instructions can beexecuted. Examples of the voice-recognition program 125 are Siri(registered trademark of Apple Inc.), and Cortana (registered trademarkof Microsoft Corporation).

The OS 124 is a program that provides basic functions utilized commonlyamong the intermediation program 122, the print/scan program 121, andthe like. In this embodiment, an example is given in which the OS 124 isiOS (registered trademark of Cisco Systems). The intermediation program122, the print/scan program 121, the voice-recognition program 125, andthe like output various instructions to the OS 124 by using an APIprovided by the OS 124. That is, the voice-recognition program 125, theprint/scan program 121, and the like give instructions to the respectivemembers of the information processing device 100 via the OS 124. Aresult for each instruction is outputted from the OS 124 to a relevantone of the voice-recognition program 125, the print/scan program 121,and the like.

Hereinbelow, the CPU 106 executing a program such as the intermediationprogram 122, the voice-recognition program 125, or the like may in somecases be referred to simply by the program name. For example, “theintermediation program 122” may mean “the CPU 106 executing theintermediation program 122”.

Further, the memory 109 has pre-stored therein first comparison strings,second comparison strings, a plurality of first candidate strings, and aplurality of second candidate strings. Contexts of these letter stringswill be described later. The first and second comparison strings may becreated by a creator of the intermediation program 122, and may bestored in the memory 109 when the intermediation program 122 isinstalled. The first and second candidate strings may be stored in thememory 109 by the user.

(Operation of Communication System)

An operation of the communication system 10 will be described withreference to sequence diagrams of FIGS. 2 to 4. In the explanatoryexample of this embodiment, a case in which the voice-recognitionprogram 125 is “Siri” will be described.

An in-advance preparation for constructing the communication system 10will be described. A creator of the print/scan program 121 includes adeclaration string in codes of the print/scan program 121, where thedeclaration string declares that this program is communicable with thevoice-recognition program 125. The creator uploads the print/scanprogram 121 and the intermediation program 122 to a server that is notshown. The user downloads the print/scan program 121 and theintermediation program 122 from the server, and installs them to theinformation processing device 100. The OS 124 identifies that thevoice-recognition program 125 and the print/scan program 121 are in acooperating relationship by detecting the declaration string in theprint/scan program 121. This enables the intermediation program 122 tointermediate communications between the voice-recognition program 125and the print/scan program 121.

When the voice-recognition program 125 is activated in the informationprocessing device 100, the flow of FIG. 2 is started. In S110, thevoice-recognition program 125 accepts a voice input from the microphone111. In S120, the voice-recognition program 125 executes a conversionprocess to convert the voice input to text data. In S130, thevoice-recognition program 125 interprets the text data. Then, itspecifies a domain, a first string, and a second string.

The domain is information that defines a task executable by thevoice-recognition program 125. There are plural types of domains.Further, for each type of the domain, a rule for using this domain isset. Examples of the domain include a “send message”, a “workout”, a“picture search”, and the like. The “send message” is a domain thatsends a message using an email. An example of the rule for using thedomain “send message” may be that a letter string “send message” isincluded in the inputted voice. The “workout” is a domain that notifiesa progress during a workout. An example of the rule for using the domain“workout” may be that a letter string “start” is included in theinputted voice. The “picture search” is a domain that searches fordesired picture data from among a plurality of picture data stored inthe memory 109.

As the domain, there are a first type domain and a second type domain.The first type domain is a domain in which a process content can bedesignated, and the second type domain is a domain in which a processcontent cannot be designated. As an example of a configuration fordesignating the process content, a configuration for designating settinginformation to be used in the image processing may be exemplified. Asexamples of the setting information, a paper size, a printingresolution, a setting regarding color print or black and white print, ascan resolution, and the like may be exemplified. That is, the firsttype domain is a domain indicating the setting information to be used inthe image processing is included in text data. Further, the second typedomain is a domain indicating that the setting information to be used inthe image processing is not included in the text data. As an example ofthe first type domain, “send message” can be exemplified. As an exampleof the second type domain, “workout” can be exemplified.

The first string is a letter string for identifying the print/scanprogram 121. The first string may be a name or an abbreviated name ofthe print/scan program 121. The second string is a letter stringindicating a content of the image processing to be executed by theprint/scan program 121. As examples of the second string, “print”,“scan”, and the like may be exemplified.

In the explanatory example of this embodiment, a case is described inwhich a voice input “send a message to use print/scan app to print in A4size” is accepted in S110. In this case, since the letter string “send amessage” is included in the inputted voice, the domain thereof isidentified as “send message”. As the first string, “print/scan app” isidentified. As the second string, “print” is identified. Since thedomain is “send message”, it is determined that the setting informationcan be designated. Then, “A4” is identified as the setting information.

When at least one of the domain, first string, and the second string isnot identified in S130, the voice-recognition program 125 may ask theuser about the domain or the letter string which it could not identify.Further, in a case where the setting information cannot be identifiedthough the setting information can be designated (that is, in the caseof the first type domain), the voice-recognition program 125 may or maynot ask the user about the setting information.

In S140, the voice-recognition program 125 activates the intermediationprogram 122. In S150, the voice-recognition program 125 sends the textdata including the domain, the first string, and the second string tothe intermediation program 122. When the domain is the first typedomain, the text data includes the setting information as well. In theexplanatory example of this embodiment, text data including the domain“send message”, the first string “print/scan app”, the second string“print”, and the setting information “A4” is sent.

In S160, the intermediation program 122 determines the type of thedomain included in the received text data. In this explanatory exampleof this embodiment, it is determined that the domain is “send message”.In S165, the intermediation program 122 temporarily stores adetermination result of the domain in the memory 109.

S170, the intermediation program 122 determines whether or not all ofinformation necessary for instructing the print/scan program 121 toexecute the image processing is included in the text data received inS150. Specifically, when the domain is determined in S160 as being thesecond type domain, it is herein determined whether the first string andthe second string are included. On the other hand, when the domain isdetermined in S160 as being the first type domain, it is hereindetermined whether the setting information is included in addition towhether the first string and the second string are included. When anaffirmative determination is made (YES in S170), the intermediationprogram 122 proceeds to S180.

In S180, the intermediation program 122 sends success information, thefirst string, the second string, and the setting information to thevoice-recognition program 125. The success information is informationthat indicates that all of the information necessary for instructing theprint/scan program 121 to execute the image processing has beenobtained. When the domain is the second type domain, the settinginformation is not sent.

On the other hand, in S170, when a negative determination is made (NO inS170), the intermediation program 122 proceeds to S200. In S200, theintermediation program 122 determines whether or not the first stringor/and the second string are inferable. Specifically, a determination ismade on whether a first similar character string similar to the firststring or/and a second similar character string similar to the secondstring are included in the text data. The first and second similarcharacter strings are letter strings that are created when the user saysa phrase wrong, or the voice recognition fails. As examples of the firstsimilar character strings for a case where the first string is“print/scan app”, “print app”, “scan app”, and the like may beexemplified. Further, as an example of the second similar characterstrings for the failure of the voice recognition, “print ‘o scan apple”may be exemplified.

The determination in S200 may be executed by using first comparisonstrings and second comparison strings that are stored beforehand in thememory 109. As an example of the first comparison strings, “print/scanapp”, which is the name of the print/scan program 121, may beexemplified. As examples of the second comparison strings, “print” and“scan” may be exemplified.

In S200, when an affirmative determination is made (YES in S200), theintermediation program 122 proceeds to S210. In S210, the intermediationprogram 122 infers the first string based on the first similar characterstring when the first similar character string is included in the textdata. Specifically, it infers that the first string is identical to thefirst comparison string corresponding to the first similar characterstring. For example, when the first similar character string is “printapp”, the first string is inferred as being identical to “print/scanapp”, which is the first comparison string. Further, when the secondsimilar character string is included in the text data, it infers thesecond string based on the second similar character string.Specifically, it infers that the second string is identical to thesecond comparison string corresponding to the second similar characterstring.

In S220, the intermediation program 122 sends the first string or/andthe second string inferred in S210 to the voice-recognition program 125.

In S230, the voice-recognition program 125 inquires the user as towhether or not the inferred first string or/and second string arecorrect. This inquiry to the user may be executed by at least one ofvoice output and screen display. For example, when the first similarcharacter string is “print app”, a phrase “did you mean “print/scanapp”, instead of “print app”?” may be read by voice, and may further bedisplayed in the displayed screen of the voice-recognition program 125.

In S240, the voice-recognition program 125 accepts an input of aresponse from the user. The input acceptance of the response may beexecuted by receiving a voice input of “yes” or “no” through themicrophone 111.

In S250, the voice-recognition program 125 creates first use informationor/and second use information, and sends the same to the intermediationprogram 122. The first use information is information indicating whetheror not the first string is usable. When the response that the inferredfirst string is correct is accepted in S240, the first use informationin this case includes a content indicating that the inferred firststring can be used. On the other hand, when the response that theinferred first string is incorrect is accepted in S240, the first useinformation in this case includes a content indicating that the inferredfirst string cannot be used. Similarly, the second use information isinformation indicating whether or not the second string is usable.

In S260, the intermediation program 122 determines whether or not thefirst use information or/and the second use information indicate whetherthe inferred first string or/and second string are usable. When anaffirmative determination is made (YES in S260), the intermediationprogram 122 proceeds to S270. A content of the process in S270 isidentical to that of aforementioned S180.

On the other hand, in S260, when a negative determination is made (NO inS260), the intermediation program 122 proceeds to S300. In S300, theintermediation program 122 determines whether or not it is possible tocreate a plurality of selection candidates for the first string or/andthe second string. This determination may be executed for exampleaccording to whether or not a plurality of first candidate strings thatare to be candidates of the first string and a plurality of secondcandidate strings that are to be candidates of the second string arestored in the memory 109. As examples of the plurality of firstcandidate strings, “print/scan app”, “browser app”, and the like may beexemplified. As examples of the plurality of second candidate strings,“print”, “scan”, and the like may be exemplified.

In S300, when an affirmative determination is made (YES in S300), theintermediation program 122 proceeds to S310. In S310, the intermediationprogram 122 creates a plurality of first candidate strings or/and aplurality of second candidate strings. Specifically, it may read out theplurality of first candidate strings or/and the plurality of secondcandidate strings stored in the memory 109, for example.

In S320, the intermediation program 122 sends the plurality of firstcandidate strings or/and the plurality of second candidate stringscreated in S310 to the voice-recognition program 125.

In S330, the voice-recognition program 125 requests the user to selectone first string or/and second string from the plurality of firstcandidate strings or/and the plurality of second candidate strings. Thisrequest to the user may be performed by at least one of the voice outputand the screen display. For example, when there is the plurality ofsecond candidate strings, a phrase “Which one of “print” and “scan”would you like to proceed with?” may be read out by the voice, and maybe displayed in the displayed screen of the voice-recognition program125.

In S340, the voice-recognition program 125 accepts an input of theuser's selection. The selection input acceptance may for example beperformed by receiving a voice input “print” through the microphone 111.

In S350, the voice-recognition program 125 creates selected first stringinformation or/and selected second string information and send the sameto the intermediation program 122. The selected first string informationis information indicating a selected first string that was selected bythe user from among the plurality of first candidate strings. Theselected second string information is information indicating a selectedsecond string that was selected by the user from among the plurality ofsecond candidate strings.

In S360, the intermediation program 122 determines whether or not theselected first string or/and the selected second string are correct.Specifically, it determines whether the selected first string isindicating the name of the print/scan program 121, and the selectedsecond string is indicating the image processing executable by theprint/scan program 121. For example, when the print/scan program 121cannot execute a FAX processing but the selected second string is “FAX”,a determination is made that the selected second string is incorrect.When an affirmative determination is made (YES in S360), theintermediation program 122 proceeds to S370. The process content in S370is similar to the content of S180 as aforementioned.

On the other hand, in S360, when a negative determination is made (NO inS360), the intermediation program 122 proceeds to S420. In S420, theintermediation program 122 sends at least one of first requestinformation, second request information, and setting request informationto the voice-recognition program 125. Each of the first requestinformation, the second request information, and the setting requestinformation is information for instructing the voice-recognition program125 to execute a process to request the user to input corresponding oneof the first string, the second string, and the setting information.

In S430, the voice-recognition program 125 requests the user to input atleast one of the first string, the second string, and the settinginformation. The request to the user may be performed by at least one ofthe voice output and the screen display. For example, when the secondstring is “print” and the input of the setting information is to berequested, a phrase “Please input the paper size for the print.” may beread out by voice, and may be displayed in the displayed screen of thevoice-recognition program 125.

In S440, the voice-recognition program 125 accepts the input of thefirst string and the like from the user. The acceptance of inputs suchas the first string may for example be performed by receiving a voiceinput through the microphone 111. In S450, the voice-recognition program125 sends the at least one of the first string, the second string, andthe setting information inputted in S440 to the intermediation program122.

In S460, the intermediation program 122 determines whether or not atleast one of the received first string, second string, and settinginformation is correct. Specific contents of this determination are sameas the contents of S360 as aforementioned. When a negative determinationis made (NO in S460), the intermediation program 122 returns to S420,and when an affirmative determination is made (YES in S460), theintermediation program 122 proceeds to S470. A process content of S470is same as the content of S180 as aforementioned.

When the process of S180, S270, S370, or S470 is executed, thevoice-recognition program 125 proceeds to S510. In S510, thevoice-recognition program 125 instructs the intermediation program 122to execute a final confirmation processing. The final confirmationprocess is a process to confirm with the user whether the imageprocessing instructed by the user should be executed by the print/scanprogram 121.

In S515, the intermediation program 122 determines whether or not thefinal confirmation processing is ready to be executed. For example, itdetermines whether or not all of the information necessary forinstructing the print/scan program 121 to execute the image processingare not missing. When a negative determination is made (NO in S515), theintermediation program 122 ends the process flow, and when anaffirmative determination is made (YES in S515), the intermediationprogram 122 proceeds to S520.

In S520, the intermediation program 122 sends final operationconfirmation image data to be used for causing the voice-recognitionprogram 125 to display a final operation confirmation image to thevoice-recognition program 125. The final operation confirmation image isan image for inquiring the user whether or not the image processingindicated by the second string should be executed by the print/scanprogram 121.

In S525, the voice-recognition program 125 causes the final operationconfirmation image to be displayed in the display 102. In theexplanatory example of this embodiment, a case is described in which aphrase “Are you sure you want to execute A4 size printing using theprint/scan app?” is displayed in the displayed screen of thevoice-recognition program 125.

In S530, the voice-recognition program 125 accepts an input of a userresponse. The input acceptance of the response may be executed byreceiving a voice input of “yes” or “no” through the microphone 111. InS540, the voice-recognition program 125 determines whether or not aresponse to allow the execution of the image processing is inputted.When a negative determination is made (NO in S540), thevoice-recognition program 125 ends the process, and when an affirmativedetermination is made (YES in S540), the voice-recognition program 125proceeds to S560. In S560, the voice-recognition program 125 instructsthe intermediation program 122 to execute the image processing. In S570,the intermediation program 122 activates the print/scan program 121.

In S572, the intermediation program 122 determines whether the domainbeing currently used is the first type domain that can designate theprocess content or the second type domain that cannot designate theprocess content. This determination can be executed by using thedetermination result stored in the memory 109 in S165. When it isdetermined that the domain is the second type domain (Second Type Domainin S572), the intermediation program 122 proceeds to S574. In S574, theintermediation program 122 instructs the print/scan program 121 toexecute the image processing indicated by the second string. In theexplanatory example of this embodiment, the case of instructing toexecute the print process is described.

On the other hand, when it is determined that the domain being currentlyused is the first type domain (First Type Domain in S572), theintermediation program 122 proceeds to S576. In S576, the intermediationprogram 122 extracts the setting information. In S580, theintermediation program 122 instructs the print/scan program 121 toexecute the image processing indicated by the second string according tothe setting information extracted in S576. In the explanatory example ofthis embodiment, the case of instructing to execute the print process in“A4 size” is described.

In S590, the print/scan program 121 executes the image processingindicated by the second string. At this occasion, the image data to bethe execution target of the image processing may be selected by theuser. Further, the selected image data may be sent to the MFP 51 via thewireless communications 151, 154 to cause the MFP 51 to execute theimage processing thereon. In the explanatory example of this embodiment,the print process may be executed on a print paper of the A4 size whenthe user sends the selected image data to the MFP 51.

In S600, the intermediation program 122 receives result informationindicating a result of the execution of the image processing indicatedby the second string from the print/scan program 121. This result of theexecution may include success/failure of the image processing,presence/absence of errors, and the like, for example. In S610, theintermediation program 122 sends the result information to thevoice-recognition program 125. In S620, the voice-recognition program125 notifies the result information to the user. This notification tothe user may be executed by at least one of the voice output and thescreen display. For example, a phrase “The print process by theprint/scan app is completed.” may be read out by voice, and may bedisplayed in the displayed screen of the voice-recognition program 125.

(Effects)

The intermediation program 122 can obtain the first string indicatingthe print/scan program 121 and the second string indicating the contentof the image processing from the voice-recognition program 125 (S150).Further, the intermediation program 122 can instruct the print/scanprogram 121 to execute the image processing indicated by the secondstring (S574, S580). Due to this, the instruction of the execution ofthe image processing using a voice to the print/scan program 121 via thevoice-recognition program 125 is enabled.

The intermediation program 122 can cause the final operationconfirmation image to be displayed by the voice-recognition program 125(S525) by sending the final operation confirmation image data to thevoice-recognition program 125 (S520). Further, when the executioninstruction for the image processing from the user is accepted (YES inS540), it can instruct the print/scan program 121 to execute the imageprocessing (S574, S580). Due to this, the final denial or approval ofthe execution of the image processing can be confirmed with the user.

The intermediation program 122 can cause the voice-recognition program125 to output the processing result (S620) by receiving the resultinformation indicating the execution result of the image processing fromthe print/scan program 121 (S600), and sending the received resultinformation to the voice-recognition program 125 (S610). Due to this,the execution result of the image processing can be notified to the userby using at least one of the voice and the screen display.

When the first string or/and second string are not included in the textdata (NO in S170) but the first similar character string or/and secondsimilar character string are included in the text data (YES in S200),the intermediation program 122 can infer the first string or/and secondstring (S210). Further, the voice-recognition program 125 can be causedto execute the process to inquire the user regarding whether theinferred first string or/and second string are usable (S220 to S250).Due to this, the correct first string or/and second string can beobtained even when the user had incorrectly remembered the name of theprint/scan program 121, or a part of the text data came to include anerror due to a recognition failure by the voice-recognition program 125.

When the first string or/and second string are not included in the textdata (NO in S170), the intermediation program 122 can create a pluralityof first candidate strings or/and plurality of second candidate strings(S310). Further, the voice-recognition program 125 can accept the useroperation to select the selected first string or/and selected secondstring from among the plurality of first candidate strings or/andplurality of second candidate strings (S320 to S350). Since theselection can be accepted after having presented choices thereof to theuser, convenience for the user can be improved.

When the first string or/and second string are not included in the textdata (NO in S170), the intermediation program 122 can cause thevoice-recognition program 125 to execute the process of requesting theuser to input the first string or/and second string (S420 to S450). Dueto this, the user can input the first string or/and second string byvoice (S440). As compared to the case of inputting the first stringor/and second string using the touch panel 103, burden on the user canbe reduced.

The intermediation program 122 can determine whether or not the settinginformation is included in the text data (S170) based on the domainobtained from the voice-recognition program 125 in S150 (S150). When thedetermination is made that the text data includes the settinginformation (First Type Domain in S572), the setting information can beextracted (S576). Then, the print/scan program 121 can be instructed toexecute the image processing according to the extracted settinginformation (S580). Due to this, the print/scan program 121 can becaused to execute the image processing according to the settinginformation accepted via the voice-recognition program 125.

Modified Examples

In S520, the intermediation program 122 may send the final operationconfirmation image data to the print/scan program 121. Further, theprint/scan program 121 may display the final operation confirmationimage in the display 102. Further, the intermediation program 122 itselfmay display the final operation confirmation image in the display 102.

In S210, the intermediation program 122 may infer the settinginformation. Further, the intermediation program 122 may send theinferred setting information to the voice-recognition program 125(S220), and may receive the information indicating whether or not theinferred setting information is usable (S250).

In S310, the intermediation program 122 may create a plurality ofcandidate setting information that are to be candidates of the settinginformation. Further, the intermediation program 122 may send theplurality of candidate setting information to the voice-recognitionprogram 125 (S320), and may receive information indicating the settinginformation selected by the user (S350).

N sets of intermediation programs may exist to correspond to each of Nsets (where N is a natural number of 1 or more) of domains. For example,an intermediation program corresponding to the domain for “sendmessage”, an intermediation program corresponding to the domain for“workout”, and an intermediation program corresponding to the domain for“picture search” may exist. In this case, the voice-recognition program125 may activate the intermediation program in S140 corresponding to thedomain identified in S130. Further, the processes of S160 and S165 maybe omitted.

The present disclosure is not limited to a configuration in which theintermediation program 122 activates the print/scan program 121 (S570).In S560, the voice-recognition program 125 may activate the print/scanprogram 121.

The processes for inferring the first string and the like (S200 to S270)may be omitted. The processes for creating the choices for the firststring and the like (S300 to S370) may be omitted. The processes forrequesting the user to input the first string and the like (S420 toS470) may be omitted. The final confirmation process (S510 to S540) maybe omitted. The processes for reporting the image processing result tothe user using the voice-recognition program 125 (S600 to S620) may beomitted. According to the above, to describe in general terms, theintermediation program 122 simply needs to cause an informationprocessing device to execute at least obtaining text data from thevoice-recognition program in a case where the voice-recognition programcreates the text data; determining whether the obtained text dataincludes a first string indicating the image processing program and asecond string indicating a content of image processing to be executed bythe program; causing a display of the information processing device todisplay a specific image indicating a context of image processingindicated by the second string in a case where it is determined that thetext data includes the first string and the second string; andinstructing the image processing program indicated by the first stringto execute image processing indicated by the second string in a casewhere an execution instruction is accepted. As a specific example, theintermediation program 122 simply needs to execute at least S150, S170,S520, S574, and S580.

How the processes are distributed between the print/scan program 121 andthe intermediation program 122 described in the embodiment is a mereexample, and they may be given other distribution patterns. For example,a part of the processes executed by the intermediation program 122 maybe executed by the print/scan program 121.

The domains, such as “send message” described in this disclosure aremere examples. The technique of the present disclosure may be applied toother types of domains.

The image processing executed by the print/scan program 121 is notlimited to “print” and “scan”. The technique of the present disclosuremay be applied even when other types of image processing are to beexecuted.

In the present embodiment, the MFP 51 is described as an example of adevice for executing the image processing, however, no limitation ismade hereto. It may be a label printer, a scanner, a copier, and thelike.

In the above embodiment, the CPU 106 of the information processingdevice 100 executes the programs 120 in the memory 109 to realize therespective processes in FIGS. 2 to 4. Instead of this, at least one ofthe processes in FIGS. 2 to 4 may be implemented by hardware such as alogic circuit, an integrated circuit, and the like.

The CPU 106 is an example of a controller. The intermediation program122 is an example of a computer-readable instructions. The print/scanprogram 121 is an example of an image processing program. Print and scanare examples of image processing. The CPU executing S150 is an exampleof “obtain text data from a voice-recognition program in a case wherethe voice-recognition program creates the text data”. The “print/scanapp”, which is the name of the print/scan program 121, is an example ofa first string. “Print” and “Scan” are examples of a second string. TheCPU executing S170 is an example of “determining whether the obtainedtext data includes a first string indicating the image processingprogram and a second string indicating a content of image processing tobe executed by the image processing program”. The final operationconfirmation image is an example of a specific image. The CPU executingS520 is an example of “cause a display to display a specific imageindicating a context of image processing indicated by the second stringin a case where it is determined that the text data includes the firststring and the second string”. The CPU executing S574 and S580 is anexample of “instructing the image processing program indicated by thefirst string to execute image processing indicated by the second stringin a case where an execution instruction is accepted”. The finaloperation confirmation image data is an example of specific image data.The CPU executing S600 is an example of “receiving result informationindicating an execution result of image processing indicated by a secondstring from the image processing program”. The CPU executing S610 is anexample of “causing the voice-recognition program to output theexecution result indicated by the result information by sending thereceived result information to the voice-recognition program”. The CPUexecuting S210 is an example of “creating a first string based on asimilar character string similar to the first string in a case where itis determined that the first string is not included in the text data butthe similar character string is included in the text data”. The CPUexecuting S220 is an example of “causing the voice-recognition programto output the created first string by sending the created first stringto the voice-recognition program”. The CPU executing S250 is an exampleof “receiving, from the voice-recognition program, first use informationindicating whether the created first string is usable”. The CPUexecuting S574 and S580 is an example of “instructing the imageprocessing program indicated by the created first string to execute theimage processing indicated by the second string in a case where thereceived first use information indicates that the created first stringis usable”. The CPU executing S210 is an example of “creating the secondstring based on a similar character string similar to the second stringin a case where it is determined that the second string is not includedin the text data but the similar character string is included in thetext data”. The CPU executing S220 is an example of “causing thevoice-recognition program to output the second string by sending thecreated second string to the voice-recognition program”. The CPUexecuting S250 is an example of “receiving, from the voice-recognitionprogram, second use information indicating whether the created secondstring is usable”. The CPU executing S520 is an example of “causing adisplay to display a specific image indicating a context of imageprocessing indicated by the created second string in a case where thereceived second use information indicates that the created second stringis usable”. The CPU executing S574 and S580 is an example of“instructing the image processing program indicated by the first stringto execute the image processing indicated by the created second stringin a case where an execution instruction for the image processing isaccepted”. The CPU executing S310 is an example of “creating a pluralityof first candidate strings that are candidates for the first characterstring, in a case where it is determined that the first string is notincluded in the text data”. The CPU executing S320 is an example of“causing the voice-recognition program to output the plurality of firstcandidate strings by sending the created plurality of first candidatestrings to the voice-recognition program”. The CPU executing S350 is anexample of “receiving, from the voice-recognition program, selectedfirst string information indicating a selected first string selectedfrom the sent plurality of first candidate strings”. The CPU executingS574 and 580 is an example of “instructing the image processing programindicated by the selected first string indicated by the receivedselected first string information to execute the image processingindicated by the second string”. The CPU executing S310 is an example of“creating a plurality of second candidate strings that are candidatesfor the second string, in a case where it is determined that the secondstring is not included in the text data”. The CPU executing S320 is anexample of “causing the voice-recognition program to output theplurality of second candidate strings by sending the created pluralityof second candidate strings to the voice-recognition program”. The CPUexecuting S350 is an example of “receiving, from the voice-recognitionprogram, selected second string information indicating a selected secondstring selected from the created plurality of second candidate strings”.The CPU executing S520 is an example of “causing the display to displaya specific image indicating a context of image processing indicated bythe selected second string indicated by the received selected secondstring information”. The CPU executing S574 and S580 is an example of“instructing the image processing program indicated by the first stringto execute image processing indicated by the selected second string, ina case where execution instruction of the image processing is accepted”.The CPU executing S420 is an example of “causing the voice recognitionprogram to accept input of the first string by sending first requestinformation for requesting input of the first string to the voicerecognition program in a case where it is determined that the firststring is not included in the text data”. The CPU executing S450 is anexample of “receiving the first string from the voice-recognitionprogram”. The CPU executing S574 and S580 is an example of “instructingthe image processing program indicated by the received first string toexecute image processing indicated by the second string”. The CPUexecuting S420 is an example of “sending second request information forrequesting input of the second string to the voice-recognition programin a case where it is determined that the second string is not includedin the text data so as to cause the voice-recognition program to acceptinput of the second string”. The CPU executing S450 is an example of“receiving the second string from the voice-recognition program”. TheCPU executing S520 is an example of “causing the display to display aspecific image indicating a context of image processing indicated by thereceived second string”. The CPU executing S574 and S580 is an exampleof “instructing the image processing program indicated by the firststring to execute image processing indicating the received second stringin a case where execution instruction of the image processing isaccepted”. The domains are examples of first information. The CPUexecuting S150 is an example of “obtaining first information indicatingwhether setting information to be used in the image processing indicatedby the second string is included in the text data”. The CPU executingS576 is an example of “extracting the setting information from the textdata in a case where the first information indicates the text dataincludes the setting information”.

What is claimed is:
 1. A non-transitory computer-readable recordingmedium storing computer-readable instructions read by a controller of aninformation processing device in which an image processing program and avoice-recognition program have been installed, the computer-readableinstructions being for intermediating communications between the imageprocessing program and the voice-recognition program, the imageprocessing program and the voice-recognition program having a formatinterpretable by the controller of the information processing device,the image processing program being for executing image processing, thevoice-recognition program being for converting a voice inputted via amicrophone of the information processing device to text data, whereinthe computer-readable instructions for intermediating communicationsbetween the image processing program and the voice-recognition program,when executed by the controller of the information processing device,cause the information processing device to: obtain the text data fromthe voice-recognition program in a case where the voice-recognitionprogram creates the text data; determine whether the obtained text dataincludes a first string indicating an instruction target that isinstructed to execute the image processing and a second stringindicating a content of image processing which is one of print and scanto be executed by the image processing program; cause a display of theinformation processing device to display a specific image indicating theprint or scan indicated by the second string in a case where it isdetermined that the text data includes the first string and the secondstring; and instruct the instruction target indicated by the firststring to execute the print or scan indicated by the second string in acase where an execution instruction is accepted.
 2. The non-transitorycomputer-readable recording medium as in claim 1, wherein the causingthe display to display the specific image includes causing the voicerecognition program or the image processing program to display thespecific image by sending specific image data for displaying thespecific image to the voice recognition program or the image processingprogram.
 3. The non-transitory computer-readable recording medium as inclaim 1, wherein the computer-readable instructions, when executed bythe controller of the information processing device, further cause theinformation processing device to: receive result information indicatingan execution result of the print or scan indicated by the second stringfrom the image processing program; and cause the voice-recognitionprogram to output the execution result indicated by the resultinformation by sending the received result information to thevoice-recognition program.
 4. The non-transitory computer-readablerecording medium as in claim 1, wherein the computer-readableinstructions, when executed by the controller of the informationprocessing device, further cause the information processing device to:create the first string based on a similar character string similar tothe first string in a case where it is determined that the first stringis not included in the text data but the similar character string isincluded in the text data; cause the voice-recognition program to outputthe created first string by sending the created first string to thevoice-recognition program; receive, from the voice-recognition program,first use information indicating whether the created first string isusable; and instruct the instruction target indicated by the createdfirst string to execute the print or scan indicated by the second stringin a case where the received first use information indicates that thecreated first string is usable.
 5. The non-transitory computer-readablerecording medium as in claim 1, wherein the computer-readableinstructions, when executed by the controller of the informationprocessing device, further cause the information processing device to:create the second string based on a similar character string similar tothe second string in a case where it is determined that the secondstring is not included in the text data but the similar character stringis included in the text data; cause the voice-recognition program tooutput the second string by sending the created second string to thevoice-recognition program; receive, from the voice-recognition program,second use information indicating whether the created second string isusable; cause the display to display a specific image indicating theprint or scan indicated by the created second string in a case where thereceived second use information indicates that the created second stringis usable; and instruct the instruction target indicated by the firststring to execute the print and scan indicated by the created secondstring in a case where an execution instruction for the image processingis accepted.
 6. The non-transitory computer-readable recording medium asin claim 5, wherein the causing the display to display the specificimage indicating the print or scan includes causing thevoice-recognition program or the image processing program to display thespecific image by sending specific image data for displaying thespecific image to the voice-recognition program or the image processingprogram.
 7. The non-transitory computer-readable recording medium as inclaim 1, wherein the computer-readable instructions, when executed bythe controller of the information processing device, further cause theinformation processing device to: create a plurality of first candidatestrings that is candidates for the first character string, in a casewhere it is determined that the first string is not included in the textdata; cause the voice-recognition program to output the plurality offirst candidate strings by sending the created plurality of firstcandidate strings to the voice-recognition program; receive, from thevoice-recognition program, selected first string information indicatinga selected first string selected from the sent plurality of firstcandidate strings; and instruct the instruction target indicated by theselected first string indicated by the received selected first stringinformation to execute the print or scan indicated by the second string.8. The non-transitory computer-readable recording medium as in claim 1,wherein the computer-readable instructions, when executed by thecontroller of the information processing device, further cause theinformation processing device to: create a plurality of second candidatestrings that is candidates for the second string, in a case where it isdetermined that the second string is not included in the text data;causing the voice-recognition program to output the plurality of secondcandidate strings by sending the created plurality of second candidatestrings to the voice-recognition program; receive, from thevoice-recognition program, selected second string information indicatinga selected second string selected from the created plurality of secondcandidate strings; cause the display to display a specific imageindicating the print or scan indicated by the selected second stringindicated by the received selected second string information; andinstruct the instruction target indicated by the first string to executethe print or scan indicated by the selected second string, in a casewhere execution instruction of the image processing is accepted.
 9. Thenon-transitory computer-readable recording medium as in claim 8, whereinthe causing the display to display the specific image indicating theprint or scan indicated by the selected second string includes causingthe voice-recognition program or the image processing program to displaythe specific image by sending specific image data for displaying thespecific image to the voice-recognition program or the image processingprogram.
 10. The non-transitory computer-readable recording medium as inclaim 1, wherein the computer-readable instructions, when executed bythe controller of the information processing device, further cause theinformation processing device to: cause the voice recognition program toaccept input of the first string by sending first request informationfor requesting input of the first string to the voice recognitionprogram in a case where it is determined that the first string is notincluded in the text data; receive the first string from thevoice-recognition program; and instruct the instruction target indicatedby the received first string to execute the print or scan indicated bythe second string.
 11. The non-transitory computer-readable recordingmedium as in claim 1, wherein the computer-readable instructions, whenexecuted by the controller of the information processing device, furthercause the information processing device to: send second requestinformation for requesting input of the second string to thevoice-recognition program in a case where it is determined that thesecond string is not included in the text data so as to cause thevoice-recognition program to accept input of the second string; andreceive the second string from the voice-recognition program; cause thedisplay to display a specific image indicating the print or scanindicated by the received second string; and instruct the instructiontarget indicated by the first string to execute the print or scanindicating the received second string in a case where executioninstruction of the image processing is accepted.
 12. The non-transitorycomputer-readable recording medium as in claim 11, wherein the causingthe display to display the specific image indicating the print or scanindicated by the received second string includes causing thevoice-recognition program or the image processing program to display thespecific image by sending specific image data for displaying thespecific image to the voice-recognition program or the image processingprogram.
 13. The non-transitory computer-readable recording medium as inclaim 1, wherein the computer-readable instructions, when executed bythe controller of the information processing device, further cause theinformation processing device to: obtain first information indicatingwhether setting information to be used in the print or scan indicated bythe second string is included in the text data; and extract the settinginformation from the text data in a case where the first informationindicates the setting information is included in the text data, theinstructing of the instruction target indicated by the first string toexecute the print or scan indicated by the second string includesinstructing the image processing program to execute the print or scanaccording to the extracted setting information.
 14. An informationprocessing device, in which an image processing program and avoice-recognition program have been installed, the image processingprogram and the voice-recognition program having a format interpretableby a controller of the information processing device, the imageprocessing program being for executing image processing, thevoice-recognition program being for converting a voice inputted via amicrophone of the information processing device to text data, theinformation processing device comprising: a display; the microphone; thecontroller; and a main memory storing computer-readable instructionstherein for intermediating communications between the image processingprogram and the voice-recognition program, the computer-readableinstructions, when executed by the controller, causing the informationprocessing device to: obtain the text data from the voice-recognitionprogram in a case where the voice-recognition program creates the textdata; determine whether the obtained text data includes a first stringindicating an instruction target that is instructed to execute the imageprocessing and a second string indicating a content of image processingwhich is one of print and scan to be executed by the image processingprogram; cause the display to display a specific image indicating theprint or scan indicated by the second string in a case where it isdetermined that the text data includes the first string and the secondstring; and instruct the instruction target indicated by the firststring to execute the print or scan indicated by the second string in acase where an execution instruction is accepted.
 15. A method ofcontrolling an information processing device in which an imageprocessing program and a voice-recognition program have been installed,the image processing program and the voice-recognition program having aformat interpretable by the controller of the information processingdevice, the image processing program being for executing imageprocessing, the voice-recognition program being for converting a voiceinputted via a microphone of the information processing device to textdata, the method comprising, when a controller of the informationprocessing device executes computer-readable instructions forintermediating communications between the image processing program andthe voice-recognition program, read by the controller, performing thesteps of; obtaining the text data from the voice-recognition program ina case where the voice-recognition program creates the text data;determining whether the obtained text data includes a first stringindicating an instruction target that is instructed to execute the imageprocessing and a second string indicating a content of image processingwhich is one of print and scan to be executed by the image processingprogram; causing a display of the information processing device todisplay a specific image indicating the print or scan indicated by thesecond string in a case where it is determined that the text dataincludes the first string and the second string; and instructing theinstruction target indicated by the first string to execute the print orscan indicated by the second string in a case where an executioninstruction is accepted.
 16. A non-transitory computer-readablerecording medium storing computer-readable instructions read by acontroller of an information processing device in which an imageprocessing program and a voice-recognition program have been installed,the computer-readable instructions being for intermediatingcommunications between the image processing program and thevoice-recognition program, the image processing program and thevoice-recognition program having a format interpretable by thecontroller of the information processing device, the image processingprogram being for executing image processing, the voice-recognitionprogram being for converting a voice inputted via a microphone of theinformation processing device to text data, wherein thecomputer-readable instructions for intermediating communications betweenthe image processing program and the voice-recognition program, whenexecuted by the controller of the information processing device, causethe information processing device to: obtain the text data from thevoice-recognition program in a case where the voice-recognition programcreates the text data; determine whether the obtained text data includesa first string indicating an element that is configured to execute theimage processing and a second string indicating a content of imageprocessing which is one of print and scan to be executed by the imageprocessing program; cause a display of the information processing deviceto display a specific image indicating the print or scan indicated bythe second string in a case where it is determined that the text dataincludes the first string and the second string; and instruct theelement indicated by the first string to execute the print or scanindicated by the second string in a case where an execution instructionis accepted.
 17. An information processing device, in which an imageprocessing program and a voice-recognition program have been installed,the image processing program and the voice-recognition program having aformat interpretable by a controller of the information processingdevice, the image processing program being for executing imageprocessing, the voice-recognition program being for converting a voiceinputted via a microphone of the information processing device to textdata, the information processing device comprising: a display; themicrophone; the controller; and a main memory storing computer-readableinstructions therein for intermediating communications between the imageprocessing program and the voice-recognition program, thecomputer-readable instructions, when executed by the controller, causingthe information processing device to: obtain the text data from thevoice-recognition program in a case where the voice-recognition programcreates the text data; determine whether the obtained text data includesa first string indicating an element that is configured to execute theimage processing and a second string indicating a content of imageprocessing which is one of print and scan to be executed by the imageprocessing program; cause the display to display a specific imageindicating the print or scan indicated by the second string in a casewhere it is determined that the text data includes the first string andthe second string; and instruct the element indicated by the firststring to execute the print or scan indicated by the second string in acase where an execution instruction is accepted.
 18. A method ofcontrolling an information processing device in which an imageprocessing program and a voice-recognition program have been installed,the image processing program and the voice-recognition program having aformat interpretable by the controller of the information processingdevice, the image processing program being for executing imageprocessing, the voice-recognition program being for converting a voiceinputted via a microphone of the information processing device to textdata, the method comprising, when a controller of the informationprocessing device executes computer-readable instructions forintermediating communications between the image processing program andthe voice-recognition program, read by the controller, performing thesteps of; obtaining the text data from the voice-recognition program ina case where the voice-recognition program creates the text data;determining whether the obtained text data includes a first stringindicating an element that is configured to execute the image processingand a second string indicating a content of image processing which isone of print and scan to be executed by the image processing program;causing a display of the information processing device to display aspecific image indicating the print or scan indicated by the secondstring in a case where it is determined that the text data includes thefirst string and the second string; and instructing the elementindicated by the first string to execute the print or scan indicated bythe second string in a case where an execution instruction is accepted.